@class Sprite;
@class CharInfo;
@interface Player:NSObject {
	@public 
	Sprite* head;
	Sprite* face;
	Sprite* body;
	Sprite* lArm;
	Sprite* rArm;
	Sprite* fist;
	Sprite* lFist;
	Sprite* rFist;
	Sprite* legs;
	Sprite* feets;
	Sprite* icon;
	Sprite* element;
	Sprite* wapon;
	Sprite* job;
	Sprite* activeArm;
	Sprite* passiveArm;
	Sprite* skill;
	
	@protected
	int currentPos;
	CharInfo* info;
	int x;
	int y;
	bool p2;
}
@property (retain, nonatomic)CharInfo* info;
@property (retain, nonatomic)Sprite* icon;
@property (retain, nonatomic)Sprite* head, *face,*body,*legs,*feets,*element,*wapon,*rArm,*lArm;

-(id)init:(CharInfo *)c;
-(void)initPosition;
-(void)paint;
-(void)drawImage;
- (void) move:(int) dx y:(int)dy;
-(void)setCommand:(int)currentCommand;
@end